import 'package:get/get.dart';

import 'state.dart';

class HomeLogic extends GetxController {
  final HomeState state = HomeState();
  void generate() {}
}

class ApiBean {
  final RxString method;
  final String route;
  final String title;
  final RxList<Param> param;

  ApiBean(
      {required this.method,
      required this.route,
      required this.title,
      required this.param});
}

class Param {
  final String key;
  final RxString type;
  final String value;

  Param({required this.key, required this.type, required this.value});
}

enum ParamType {
  STRING("string"),
  BOOL("bool"),
  ;

  final String name;

  const ParamType(this.name);
}
